﻿<Canvas x:Name="parentCanvas"
        xmlns="http://schemas.microsoft.com/client/2007" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Loaded="Page_Loaded" 
        x:Class="XamlPages.Page;assembly=ClientBin/XamlPages.dll"
        xmlns:MagicControls="clr-namespace:MagicControls;assembly=ClientBin/MagicControls.dll"
        Width="640"
        Height="480"
        Background="White"
        >
  <MagicControls:ScrollableCanvas x:Name="leftCanvas" Background="Yellow" Width="100" ScrollableHeight="1000" ScrollableWidth="300"></MagicControls:ScrollableCanvas>
  <MagicControls:ScrollableCanvas x:Name="rightCanvas" Background="Red" Width="200"></MagicControls:ScrollableCanvas>
  <MagicControls:Splitter Control1Name="leftCanvas" Control2Name="rightCanvas" SplitterType="Vertical" Width="5" Height="5" Canvas.Left="100"></MagicControls:Splitter>
</Canvas>